package com.wy.demo.jsonFormat.gson;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User2 {
    private Long id;
    private String name;
    
    @SerializedName("email_address")
    private String email;
    
    private Date createTime;
    
    private List<String> hobbies;
} 